package com.zty.xiaomi.server.Mapper;

import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Component;

/**
 * @author Losca
 * @date 2022/2/14 18:10
 */
@Component
public interface Advice {
    @Insert("insert into advice(text,userid,username,title,email)" +
            " values(#{text},#{userid},#{username},#{title},#{email})")
    int save(String text,String userid,String username,String title,String email);
}
